//
//  Pizza.h
//  Pizza
//
//  Created by ghwang on 15/3/28.
//  Copyright (c) 2015年 sendInfo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Member : NSObject
@property(nonatomic,strong) NSString *nickname;
@property(nonatomic,strong) NSString *mobile;
@property(nonatomic,strong) NSString *pic;
@property(nonatomic,strong) NSNumber *id;
@property (nonatomic, strong) NSString *memberName;                               /****/
@property (nonatomic, strong) NSString *shopName;                               /****/
@property (nonatomic, strong) NSString *slogan;                               /****/
@property (nonatomic, strong) NSArray *address;                               /****/
@property(nonatomic,strong) NSString *isset;


@end

@interface MyStyle : NSObject
@property (nonatomic, strong) NSString *id;                               /****/
@property (nonatomic, strong) NSString *gradeId;                               /****/
@property (nonatomic, strong) NSString *title;                               /****/
@property (nonatomic, strong) NSString *pic;                               /****/
@property (nonatomic, strong) NSString *add_time;                               /****/
@property (nonatomic, strong) NSString *seq;                               /****/

@end

@interface Shop : NSObject

@property(nonatomic,strong) NSString *id;
@property(nonatomic,strong) NSString *title;
@property(nonatomic,strong) NSString *pic;
@property(nonatomic,strong) NSString *storeGradeName;
@property (nonatomic, strong) NSString *content;/****/
@property (nonatomic, strong) NSString *shopId;                               /****/
@property (nonatomic, strong) NSString *saleMoney;                               /****/
@property (nonatomic, strong) NSString *saleOrderNumber;                               /****/
@property(nonatomic,strong) NSString *gradeId;
@property(nonatomic,strong) NSString *shopGradeName;
@property(nonatomic,strong) NSString *slogan;
@property(nonatomic,strong) NSString *gradePercent;
@property(nonatomic,strong) MyStyle *shop_style;


@end



@interface Status : NSObject
@property(nonatomic,strong) NSString *code;
@property(nonatomic,strong) NSString *message;
@property(nonatomic,strong) NSString *resultCode;


@end

@interface Goods : NSObject

@property (nonatomic, strong) NSString *id;                               /****/
@property (nonatomic, strong) NSString *shopId;                               /****/
@property (nonatomic, strong) NSString *title;                               /****/
@property (nonatomic, strong) NSString *price;                               /****/
@property (nonatomic, strong) NSString *pic;                               /****/
@property (nonatomic, strong) NSString *soldNumber;                               /****/
@property (nonatomic, strong) NSString *available;                               /****/
@property (nonatomic, strong) NSString *burdening;                               /****/
@property(nonatomic,strong)   NSString *content;



@end

@interface OrderGoods : NSObject
@property (nonatomic, strong) NSString *orderId;                               /****/
@property (nonatomic, strong) NSString *productId;                               /****/
@property (nonatomic, strong) NSString *title;                               /****/
@property (nonatomic, strong) NSString *img;                               /****/
@property (nonatomic, strong) NSString *price;                               /****/
@property (nonatomic, strong) NSString *quantity;                               /****/

@end

@interface News : NSObject
@property(nonatomic,strong) NSString *id;
@property(nonatomic,strong) NSString *title;
@property(nonatomic,strong) NSString *pic;
@property(nonatomic,strong) NSString *content;
@property(nonatomic,strong) NSString *create_time;

@end

@interface Address : NSObject

@property (nonatomic, strong) NSString *id;                               /****/
@property (nonatomic, strong) NSString *uid;                               /****/
@property (nonatomic, strong) NSString *name;                               /****/
@property (nonatomic, strong) NSString *mobile;                               /****/
@property (nonatomic, strong) NSString *address;                               /****/
@property (nonatomic, strong) NSString *add_time;                               /****/
@property (nonatomic, strong) NSString *isdefault;                               /****/

@end

@interface Order : NSObject
@property (nonatomic, strong) NSString *id;                               /****/
@property (nonatomic, strong) NSString *orderId;                               /****/
@property (nonatomic, strong) NSString *add_time;                               /****/
@property (nonatomic, strong) NSString *status;                               /****/
@property (nonatomic, strong) NSString *order_sumPrice;                               /****/
@property (nonatomic, strong) NSArray *products;                               /****/
//
@property (nonatomic, strong) NSString *shopId;                               /****/
@property (nonatomic, strong) NSString *goods_sumPrice;                               /****/
@property (nonatomic, strong) NSString *userId;                               /****/
@property (nonatomic, strong) NSString *userName;                               /****/
@property (nonatomic, strong) NSString *address_name;                               /****/
@property (nonatomic, strong) NSString *mobile;                               /****/
@property (nonatomic, strong) NSString *address;                               /****/

@end

@interface PayType : NSObject
@property (nonatomic, strong) NSString *id;                               /****/
@property (nonatomic, strong) NSString *name;                               /****/
@property (nonatomic, strong) NSString *typeCode;                               /****/
@property (nonatomic, strong) NSString *displayOrder;                               /****/
@property (nonatomic, strong) NSString *available;                               /****/

@end

@interface ShopGrade : NSObject
@property (nonatomic, strong) NSString *id;                               /****/
@property (nonatomic, strong) NSString *pid;                               /****/
@property (nonatomic, strong) NSString *classes;                               /****/
@property (nonatomic, strong) NSString *name;                               /****/
@property (nonatomic, strong) NSString *pic;                               /****/
@property (nonatomic, strong) NSString *storeNumber;                               /****/
@property (nonatomic, strong) NSString *descriptionn;                               /****/
@property (nonatomic, strong) NSString *seq; /****/
@property(nonatomic,strong) NSString *title;

@end



@interface Friend : NSObject
@property(nonatomic,strong) NSString *id;
@property(nonatomic,strong) NSString *nickname;
@property(nonatomic,strong) NSString *mobile;
@property(nonatomic,strong) NSString *pic;



@end

@interface HttpAPI : BeeController

#pragma mark - 注册

AS_MESSAGE(REGISTER)

#pragma mark - 登陆
AS_MESSAGE(LOGIN)

#pragma mark - 获取验证码
AS_MESSAGE(GET_VERCODE)

#pragma mark - 首页请求
AS_MESSAGE(GETHOME)

#pragma mark - 更新token
AS_MESSAGE(UPDATETOKEN)

#pragma mark - 退出登录
AS_MESSAGE(LOGOUT)

#pragma mark - 重置密码
AS_MESSAGE(resetpassword)

/**
 *  找回密码流程：
 用户点击找回密码第一个页面 客户端调用接口 生成随机码 和token
 http://103.10.87.167:8096/service/randomcode.php
 
 用户点击发送验证码  调用接口：
 传递 randomcode.php 生成的token 验证码 和手机号 到服务器 成功后服务器发送短信。
 
 验证接口：
 http://103.10.87.167:8096/service/validate.php
 
 找回密码：
 用户输入短信验证码 和新密码 点击重置密码 调用接口：
 http://103.10.87.167:8096/service/resetpassword.php
 
 进行重设密码

 *
 *  @param randomcode
 *
 *  @return
 */
#pragma mark - 找回密码验证码
AS_MESSAGE(randomcode)

#pragma mark - 验证码验证
AS_MESSAGE(validate)

#pragma mark - 店铺主页
AS_MESSAGE(shop_home)

#pragma mark - 店铺搜索
AS_MESSAGE(shop_search)

#pragma mark - 店铺排行
AS_MESSAGE(shops)

#pragma mark - 产品
AS_MESSAGE(products)

#pragma mark - 公告列表
AS_MESSAGE(notice)

#pragma mark - 公告列表
AS_MESSAGE(notice_detail)

#pragma mark - 地址管理
AS_MESSAGE(address)

#pragma mark - 添加地址
AS_MESSAGE(address_add)

#pragma mark - 删除地址
AS_MESSAGE(address_del)

#pragma mark - 修改地址
AS_MESSAGE(address_update)

#pragma mark - 获取订单
AS_MESSAGE(current_order)

#pragma mark - 获取历史订单
AS_MESSAGE(history_order)

#pragma mark - 订单信息获取
AS_MESSAGE(order_checkout)

#pragma mark - 订单详情
AS_MESSAGE(order_detail)

#pragma mark - 生成订单
AS_MESSAGE(order_add)

#pragma mark - 首次登录保险柜(注册)
AS_MESSAGE(box_reg)

#pragma mark - 我的连锁店铺
AS_MESSAGE(shop_link)

#pragma mark - 登录保险柜
AS_MESSAGE(box_login)

#pragma mark - 获取个人资料
AS_MESSAGE(member_info)

#pragma mark - 修改个人资料
AS_MESSAGE(member_update)

#pragma mark - 邀请好友(获取要求URL)
AS_MESSAGE(friend_invite)

#pragma mark - 添加好友
AS_MESSAGE(friend_add)

#pragma mark - 好友列表
AS_MESSAGE(friend_list)

#pragma mark - 装修风格
AS_MESSAGE(style)

#pragma mark - 等级
AS_MESSAGE(shop_grade)

#pragma mark - 我的风格历史
AS_MESSAGE(style_history)

#pragma mark - 设定我的风格
AS_MESSAGE(style_update)

#pragma mark - 支付
AS_MESSAGE(alipay)

#pragma mark - 提款
AS_MESSAGE(cash)

#pragma mark - 添加提款账号
AS_MESSAGE(money_account)

#pragma mark - 提示电话号码
AS_MESSAGE(aboutus)


@end


@interface HttpRequest : NSObject
AS_SINGLETON(HttpRequest)

- (NSString *)url;
- (NSString *)imageUrl;
@end